package day007;

public class Test {

    public static void main(String[] args) {

        System.out.println(sum(1, 100));

    }

    public static double sum(double sum, int x) {
        if (x == 100)
            return 5;
        return sum(sum, x + 1);
    }
}
